<!DOCTYPE html>
<html>
<head>
    <?php include(__DIR__ . '/../Public/header.php'); ?>
    <style type="text/css">

    </style>
</head>
<body class="skin-black fixed">
<?php include(__DIR__ . '/../Public/nav.php'); ?>
<div class="wrapper row-offcanvas row-offcanvas-left">
    <?php include(__DIR__ . '/../Public/left.php'); ?>
    <aside class="right-side">
        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-md-12">
                    <ul class="breadcrumb">
                        <li><a href="#"><i class="fa fa-home"></i> <?=L('ucenter',1)?></a></li>
                        <li class="active"><?=L('uchelp',1)?></li>
                    </ul>
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    <div class="panel">
                        <div class="panel-body">
                            <ul class="media-list">
                                <li class="media clearfix">
                                    <div class="media-body pull-left">
                                        <div>
                                            <strong><?=$question['title']?></strong> <small><em><?=date('Y-m-d H:i:s',$question['add_time'])?></em></small>
                                        </div>
                                        <p>
                                            <?=$question['text']?>
                                        </p>
                                    </div>
                                </li>
                                <?php foreach ($question['answer'] as $key => $value) { ?>
                                <li class="media clearfix">
                                    <div class="media-body">
                                        <div>
                                            <strong><?=$value['title']?></strong> <small><em><?=date('Y-m-d H:i:s',$value['add_time'])?></em></small>
                                        </div>
                                        <p>
                                            <?=$value['text']?>
                                        </p>
                                    </div>
                                </li>
                                <?php } ?>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </section><!-- /.content -->
        <?php include(__DIR__ . '/../Public/copyright.php'); ?>
    </aside><!-- /.right-side -->
</div><!-- ./wrapper -->
<?php include(__DIR__ . '/../Public/footer.php'); ?>
</body>
</html>